using System;
using Caliburn.Micro;

namespace Exones.Blend.AssetsManager
{
	class BlendAsset : PropertyChangedBase
	{
		private string name;
		private string path;

		public string Name
		{
			get { return name; }
			set
			{
				name = value;
				NotifyOfPropertyChange(() => Name);
			}
		}

		public string Path
		{
			get { return path; }
			set
			{
				path = value;
				NotifyOfPropertyChange(() => Path);
			}
		}

		public BlendAsset(string name, string path)
		{
			if (name == null) throw new ArgumentNullException("name");
			if (path == null) throw new ArgumentNullException("path");

			this.name = name;
			this.path = path;
		}
	}
}